package com.shiguiwu.springboot3.mapper;

import com.shiguiwu.springboot3.entity.Order;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.CommonMapper;

import java.util.Date;

/**
 * @description: 订单mapper
 * @author: stone
 * @date: Created by 2023/7/3 12:06
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springboot3.mapper
 */
public interface OrderMapper extends CommonMapper<Order> {

    int queryTest();

    @Insert("insert into t_user(id,create_time) values (#{id},#{date})")
    int saveUser(@Param("id") Integer id, @Param("date") Date date);
}
